package com.zcoj.service;

import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;

@CacheConfig(cacheNames = "ImageService")
public interface ImageService {

	@Cacheable(key = "'getIndexImageBase64'")
	String getIndexImageBase64();

	@CacheEvict(value = "ImageService",allEntries = true)
	Integer modifyImageBase64(String base64);


}
